//
//  BankSpeakerView.m
//  CocoaSynth
//
//  Created by Thomas Dupont on 22/02/10.
//  Copyright 2010 Apple Inc. All rights reserved.
//

#import "BankSpeakerView.h"

@implementation BankSpeakerView

- (id)initWithFrame:(NSRect)frameRect
{
	if (self = [super initWithFrame:frameRect]) {
		moduleImage = [NSImage imageNamed:@"bank_speaker.png"];
	}
	return self;
}

- (void)drawRect:(NSRect)dirtyRect
{
	[[NSColor clearColor] set];
	[NSBezierPath fillRect:dirtyRect];
	[moduleImage drawAtPoint:NSMakePoint(0, 0) fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
}

- (void)draggedImage:(NSImage *)image endedAt:(NSPoint)screenPoint operation:(NSDragOperation)operation
{
	
}

@end
